<div id="main">

<?
    $emoji = HTML_Emoji::getInstance();
    $emoji->setImageUrl('./emoji_images/');

?>
<div>
member
<?
if(isset($pod_id))
{
?>
<div id="pod_members" class="clearfix">
<?
	if(is_array($pod_members))
	{
		foreach($pod_members as $pod_member)
		{
?>
			<div class="profile_image">
			<img src="./profile_image/<?=$pod_member['profile_image']?>" width="24" />
			</div>
			<!--<?=$pod_member['user_name']?>-->

<?
		}
	}
?>
<p class="more_member"><a href="./pod_member.php?pod_id=<?=$pod_id?>">一覧</a> | <a href="./add_pod_member.php?pod_id=<?=$pod_id?>">追加</a></p>
</div>

<div class="post_form">
	<form action="./view_pod.php" method='POST'>
		<input type="text" name="text" class="text_box" />
		<input type="hidden" name="pod_id" value="<?=$pod_id?>">
		<input type="hidden" name="type" value="post" />
		<input type="submit" name="post" value="send" />
	</form>
</div>



<?
	if(is_array($comments))
	{
?>
<ul class="feed">
<?
	    foreach($comments as $comment)
	    {
?>
<li class="oneData clearfix" style="background-image: url(./images/b<?=$c?>00.jpg); background-repeat:no-repeat; background-position: 0px -100px;">
	<div>
		<img src="./profile_image/<?=$comment['profile_image']?>" width="40" class="profile_image" />
		<ul>
		    <li class="user_name"><?=$comment['user_name']?>&nbsp;&nbsp;&nbsp;<?=show_date($comment['time_stamp'])?>&nbsp;&nbsp;from <?=$comment['via']?></li>
		    <li class="date"><?=$emoji->filter($comment['text'], 'output');?></li>
		    <li class="via"></li>
		</ul>
		<p class="comment"></p>
	</div>
</li>
<?
		}
?>
</ul>
<?
	}
?>


<div id="foot_navi" class="clearfix">
<a href="./home.php" class="back">＜戻る</a>
<a href="#TOP" class="back_top">このページのトップへ</a>
</div>


<?

}
else
{?>



<?}?>

</div>



</div>